package com.bit.forumdemo.controller.block_controller;


import com.bit.forumdemo.pojo.block_pojo.Block;

import java.util.List;

/**
 *  版块controller
 */
public class BlockController {

    /**
     * 添加版块
     * @param record
     * @return
     */

    public int insert(Block record) {
        return 0;
    }

    /**
     * 主键查询版块详情
     * @param blockId
     * @return
     */
    public Block selectByPrimaryKey(Integer blockId) {
        return null;
    }


    /**
     * 查询所有版块
     * @return
     */
    public List<Block> selectAll() {
        return null;
    }


    /**
     * 通过主键编辑版块信息
     * @param record
     * @return
     */
    public int updateByPrimaryKey(Block record) {
        return 0;
    }
}
